(navigation image)
Home American Libraries | Canadian Libraries | Universal Library | Community Texts | Project Gutenberg | Children's Library | Biodiversity Heritage Library | Additional Collections
Search: Advanced Search
Anonymous User (login or join us)
Upload
See other formats

Full text of "Soft Circuits"

Android-Controlled LED Light Shirt 



MakejProjects 



build, hack,, tweak, share, discover,- 



Android-Controlled LED Light 



Shirt 



Written By: Michael Kane 



PARTS: 



Arduino or similar 8-bit microcontroller (1) 

Bliptronics LED pixel (60) 

Bluetooth Modem - BlueSMiRF Silver (1) 

Android phone (1) 

LM1084IT 5Amp 5V LDO Linear Regulator (1) 



SUMMARY 

Write an Android app to control an LED light shirt. The app communicates to an ATmega128 
via a BlueSMiRF Bluetooth transceiver. The microcontroller outputs data on the SPI to 
daisy-chained shift-register-controlled constant-current regulators driving RGB LEDs. 



© Make Projects 



www.makeprojects.com 



Page 1 of 4 



Android-Controlled LED Light Shirt 



Step 1 — Android-Controlled LED Light Shirt 




Solder LED Pixels in a daisy-chain, 
making sure wires are correctly 
ordered. 



Step 2 




Create micro-controller interface 

board and write embedded frame 

buffer code similar to code supplied 

by Bliptronics 

here: http://bliptronics.com/projects/LEDArdui. 

• Multiple battery inputs (top right 
connectors) to extend battery 
life 

• Multiple power outputs (top left 
connectors) to reduce line 
losses along LED daisy-chain 

• High current rated LDO Linear 
Regulator (and heat sink) 

• BlueSMiRF Silver for Android 
connectivity 

• Single data output (far left 
connector) 

• Data lines to micro-controller 
board (i.e. Arduino) [Blue wires] 
for SPI and UART lines 

• Hard reset button 



© Make Projects 



www.makeprojects.com 



Page 2 of 4 



Android-Controlled LED Light Shirt 



Step 3 



f* fdlt Eui> Nuijn* &*di EttjMi Htftqet H*t*w 

a _> .„■ i * - o - % • < 



'. KT.fUL.R^e.Allr.ily 



L V«\K&t*mv.)m tjbjgb'ml 




# Develop Android App 

• Create tabbed layout with 
activities to set parameters for 
different patterns. The 'set' 
button the sends command over 
bluet ooth 

• Color picker 
by: http://code.google.com/p/android- 
color-p... 

• Bluetooth from Android Bluetooth 
Chat example: 
http://developer.android.eom/resources/s. .. 

• Vertical Seekbar by Neil D 
here: http://stackoverflow.com/questions/63123. 



Step 4 



i 


/ 


K i ■■ 




PP 


W m 






A 


. 




h,.,4. 







Sew LEDs into garment. 



© Make Projects 



www.makeprojects.com 



Page 3 of 4 



Android-Controlled LED Light Shirt 



Step 5 









• * ' 4 


i 







Party! 

• Video demo here: 

http://www.youtube.com/watch? 
v=DcY8FnuD0... 



Step 6 



CAUTION 




Area 



Danger — r? 

Proceed With Care 
And Knowledge 



Just a word of caution that I was 
never able to get the BlueSmirf to 
consistently send data to the 
Android, only from the Android to 
the BlueSmirf. I forget, but you may 
also need to change the BUAD rate 
of the BlueSmirf which you can 
read how to due in the RN-42 AT 
Command Set. 



Be sure to check out the video demo here: http://www.youtube.com/watch?v=DcY8FnuDO... 



This document was last generated on 201 2-1 1 -01 08:03:1 7 AM. 



© Make Projects 



www.makeprojects.com 



Page 4 of 4